#!/bin/bash
set -e

. /mnt/ilustre/app/medical/tools/.var

for frac in 0.04 0.07 0.1 0.2 0.5 1 2; do
	extract_bam.sh $1 $frac
	lorenz_rc_cnv.sh $out_prefix.${frac}x.bam
	mv 1.lorenz.pdf $out_prefix.${frac}x.lorenz.pdf
	bak.sh $out_prefix.${frac}x.pdf
done
